#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>

#define SIZE 512

const char *getusername()
{
  const char* name = getenv("USER");
  if(name == NULL) return "None";
  return name;
}

int main()
{
  //1:get my getusername
  char output[SIZE];
  printf("name:%s\n", getusername());
  return 0;
}
